package io.gitee.jinceon.pmd;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;
public class SpringBootStarter implements ApplicationContextInitializer {
    private static boolean initialized = false;
    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {
        if (!initialized) {
            new CodePmdChecker().check();
            initialized = true;
        }
    }
}
